package net.entelijan.cobean.examples.showcase;

import java.awt.Component;
import java.awt.Container;
import java.awt.HeadlessException;

import javax.swing.JFrame;

import net.miginfocom.swing.MigLayout;

public class ShowcaseTestFrame extends JFrame {

	private static final long serialVersionUID = 1L;

	public ShowcaseTestFrame(Component comp) throws HeadlessException {
		super();
		Container cp = getContentPane();
		cp.setLayout(new MigLayout());
		cp.add(comp, "w 500, h 600, grow");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	}

}
